﻿<UserControl x:Class="BlueCrest.Module.ConfigEditor.Views.ConfigEditorView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             HorizontalContentAlignment="Stretch"
             d:DesignHeight="600" d:DesignWidth="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        
        <Expander Grid.Row="0" Grid.Column="0" Header="Config Tree" ExpandDirection="Left" FlowDirection="LeftToRight" IsExpanded="True">
            <Grid Width="300">
                <TreeView />
            </Grid>    
        </Expander>
        
        <Grid Grid.Row="0" Grid.Column="1">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="5" />
                <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            
            <Grid Grid.Row="0">
                <GroupBox Header="Entries">
                    <Grid Height="200">
                        
                    </Grid>
                </GroupBox>
            </Grid>
            
            <GridSplitter  Grid.Row="1" ResizeDirection="Rows" HorizontalAlignment="Stretch"  />

            <Grid Grid.Row="2">
                <GroupBox Header="Selected Entry">
                    <Grid Height="200">

                    </Grid>
                </GroupBox>
            </Grid>
        </Grid>
        
        <StatusBar Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2">
            <StackPanel Height="20">
                
            </StackPanel>
        </StatusBar>
    </Grid>
</UserControl>
